import { defineStore } from 'pinia'
import getRole from '@/request/getRole'
export default defineStore('role', {
  state: () => ({
    limits: {

    }
  }),
  actions: {
    async update(token) {
      const data = await getRole(token)
      this.limits = data
    },
  },
})
